Skip to content

Preserve count order in numbered lists #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2020
Merged

Conversation

timolins
Copy link
Member

Fixes #4

Use the start attribute of each ol element to render the correct count.

@timolins timolins force-pushed the fix-numbered-list branch from f6b657a to 681a581 Compare May 22, 2020 09:38
@timolins timolins merged commit 05fc72a into master May 22, 2020
@timolins timolins deleted the fix-numbered-list branch May 22, 2020 09:39
@kartiknair
Copy link

Hey there! Sorry to be annoying but there still seems to be strange issues. Example this is the rendered page:

image

And this is the original notion page:

image

@timolins
Copy link
Member Author

Oh wow. Should have tested it with your example page. Thanks for reporting. I'll take another look at it tomorrow.

@kartiknair
Copy link

kartiknair commented May 24, 2020

Thanks for taking the time to look at it. I was digging into it further and it looks like it's taking the actual block number as the first list number. So if my list is the fifth block on the page the numbered list will start at '5'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Numbered lists aren't working
2 participants